<table cellpadding="2" cellspacing="1">
	<tr>
      <td>文本框长度</td>
      <td><input type="text" name="setting[size]" value="<?php echo $size?>" class="txt" size="10"></td>
    </tr>
	<tr>
      <td>默认值</td>
      <td><input type="text" name="setting[defaultvalue]" class="txt" value="<?php echo $defaultvalue?>" size="40"></td>
    </tr>
	<tr>
      <td>允许上传的图片大小</td>
      <td><input type="text" name="setting[upload_maxsize]" class="txt" value="<?php echo $upload_maxsize?>" size="5">KB 提示：1KB=1024Byte，1MB=1024KB *</td>
    </tr>
	<tr>
      <td>允许上传的图片类型</td>
      <td><input type="text" name="setting[upload_allowext]" class="txt" value="<?php echo $upload_allowext?>" size="40"></td>
    </tr>
	<!--<tr>
      <td>是否从已上传中选择</td>
      <td><input type="radio" name="setting[isselectimage]" value="1"> 是 <input type="radio" name="setting[isselectimage]" value="0" checked> 否</td>
    </tr> -->
	<tr>
      <td>是否产生缩略图</td>
      <td><input type="radio" name="setting[isthumb]" <?php echo  isset($isthumb) && $isthumb == 1 ? 'checked="checked"' : ''?> value="1"  onclick="$('#thumb_size').show()"/> 是 <input type="radio" name="setting[isthumb]" value="0"  <?php echo  isset($isthumb) && $isthumb == 0 ? 'checked="checked"' : ''?> onclick="$('#thumb_size').hide()"/> 否</td>
    </tr>
	<tr id="thumb_size" <?php echo  isset($isthumb) && $isthumb == 0 ? 'style="display:none"' : ''?>>
      <td>缩略图大小</td>
      <td>宽 <input type="text" class="txt" name="setting[thumb_width]" value="<?php echo isset($thumb_width)?$thumb_width:''?>" size="3">px 高 <input type="text" name="setting[thumb_height]" class="txt" value="<?php echo isset($thumb_height)?$thumb_height:''?>" size="3">px</td>
    </tr>
	<tr>
      <td>是否加图片水印</td>
      <td><input type="radio" name="setting[iswatermark]" <?php echo  isset($iswatermark) && $iswatermark == 1 ? 'checked="checked"' : ''?> value="1" onclick="$('#watermark_img').show()"/> 是 <input type="radio" <?php echo  isset($iswatermark) && $iswatermark == 0 ? 'checked="checked"' : ''?> name="setting[iswatermark]" value="0"  onclick="$('#watermark_img').hide()"/> 否</td>
    </tr>
	<tr id="watermark_img" <?php echo  isset($iswatermark) && $iswatermark == 0 ? 'style="display:none"' : ''?>>
      <td>水印图片路径</td>
      <td><input type="text" class="txt" name="setting[watermark_img]" value="<?php echo isset($watermark_img)?$watermark_img:''?>" size="40"></td>
    </tr>
</table>